package com.jt.yygh.hospital.repository;

import com.jt.yygh.hospital.entity.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author jiang tao
 * @date 2022/3/1
 * @description:
 **/
@Repository
public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
